package cn.lutu.domain.service;



import cn.lutu.protocol.dto.CommentPostDTO;
import cn.lutu.protocol.entity.Comment;
import cn.lutu.protocol.vo.CommentVO;
import cn.lutu.security.jwtFilter.CurrentPrincipal;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentService {
    Comment insert(CommentPostDTO commentPostDTO, CurrentPrincipal currentPrincipal);

    void deleteById(Long id);

    List<CommentVO> selectById(Long id);
}
